package com.health.appoint.model.appoint;


import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author zhexueqi
 * @ClassName TakeAppointRequest
 * @since 2024/8/22    20:11
 */
@Data
public class TakeAppointRequest {

    @Min(value = 1, message = "预约ID不能为空")
    @NotNull
    private Long appointId;
    @NotBlank
    private String patientAddress;
    @NotBlank
    private String privateKey;
}
